
import './index.scss';
import React, { Component } from 'react';
import download from './app-download.jpg';

class AppDownload extends Component {
  download = _ => (location.replace(`https://app.jzdoctor.com/misc-web/app-download.html`))

  render () {
    return (
      <div className="app-download">
        <div className="app-download-hd">
          <button className="app-download-button" onClick={this.download}>下载 App</button>
        </div>
        <div className="app-download-bd">
          <img src={download} alt="彩虹育儿App" />
        </div>
      </div>
    );
  }
}

export default AppDownload;